package com.edu.d9_reflect;

public class Teacher {
    private String name;
    private double salsry;

    public Teacher() {
    }

    public Teacher(String name, double salsry) {
        this.name = name;
        this.salsry = salsry;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSalsry() {
        return salsry;
    }

    public void setSalsry(double salsry) {
        this.salsry = salsry;
    }
}
